package com.kc.business.domain;

import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * TODO
 * 寄卖商品
 *
 * @author zhangshuo
 * @version 1.0
 * @date 2020/10/23
 */
@Data
@Table(name = "kc_personal_consignment_goods")
public class BizPersonalConsignmentGoods {
    @Id
    @NotNull(message = "id不能为空")
    private Integer id;
    private Integer goodsId;
    /** 用户id */
    private Integer userId;
    /** 详情图 */
    private String imgs;
    /** 视频 */
    private String videoUrl;
    /** 标题 */
    private String title;
    /** 缩略图 */
    private String thumb;
    /** 防伪证书 */
    private String certificate;
    private String[] imgList;
    /** 寄卖价格 */
    private Double price;
    /** 运费 */
    private Double expressFee;
    /** 审核状态 0待审核 1通过 2未通过 */
    @NotBlank(message = "审核状态不能为空")
    private String status;
    /** 拒绝原因 */
    private String refuseInfo;
}
